<?


function isLoggedIn(){


if((int)$_SESSION["user_id"]>0)
	return 1;
else
	return 0;

}

function getMemberId(){

return (int)$_SESSION["member_id"];


}

function kickOut(){
	header("location:login.php");
}

function isBKStudent(){
	return (int)$_SESSION["is_bk"];
}
?>